<?php

declare(strict_types=1);

namespace App\CustHub\Request;

use Mine\MineFormRequest;

class RoomKickUserRequest extends MineFormRequest
{
    public function saveRules(): array
    {
        return [
            'cfg' => 'required'
        ];
    }

    public function updateRules(): array
    {
        return array_merge($this->saveRules(),[
            'id' => 'required'
        ]);
    }

    public function renameRules(): array
    {
        return [
            'id' => 'required',
            'name' => 'required'
        ];
    }

    public function deleteRules(): array
    {
        return [
            'id' => 'required',
        ];
    }
}